WebRTC
Properties
Functions
Activate simulcast. Simulcast will send 3 video streams (LOW, MEDIUM and HIGH) when you add video in a conference call. Depending on your bandwidth and CPU, only LOW and MEDIUM can be sent and even only LOW.
Get the video track of the active speaker if available. You must subscribe to it first through Bubbles module.
this method is used to get the current call matching the given contact
this method is used to get the current call matching the given roomId
this method is used to get the current call matching the given sid
get distant video tracks by peer session type
get distant video tracks by WebRTCCall
get distant video tracks by publisher id
get distant video tracks by peer session type and publisher id
Let you know if there is an ongoing call on another device from the user that can be picked up on this one.
This method is used to hangup a call when a call is established
Hold the subscribed video from the given participant id in order to reduce data consumption (can be useful when a video is not displayed any more). This is far more efficient than just using unsubscribeToVideo/subscribeToVideo.
Let you know if audio/video is currently sent
Let you know if the server is playing ring back tone for outgoing PBX calls. Only for Cloud PBX.
Let you establish a call within a conference that has previously been joined through the Bubbles module. The Bubbles join request will give the roomId and jingleJid that are needed here.
this method is used to mute a distant contact
Pickup a P2P call from another device
this method is used to register to web rtc events
this method is used to register to telephony events
This method is used when user does not answer of an incoming call
Retrieve the subscribed video from the given participant id in order to get back stream (can be useful when a video is displayed again). This is far more efficient than just using unsubscribeToVideo/subscribeToVideo.
this method is used to switch camera
Transfer the current P2P call to the given contact. Only for Could PBX.
Transfer the current P2P calls. Only for Could PBX.
this method is used to unregister to web rtc events
this method is used to unregister to telephony events